package com.koron.ticket.workchange.ticketchangemember.service;


import com.koron.bean.base.Response;
import com.koron.ticket.workchange.ticketchangemember.bean.TicketChangeMember;
import com.koron.ticket.workchange.ticketchangemember.bean.TicketChangeMemberQuery;
import org.koron.ebs.mybatis.SessionFactory;

import java.util.List;

/**
 * (TicketChangeMember)表服务接口
 *
 * @author 朱超
 * @since 2021-10-27 10:19:48
 */
public interface TicketChangeMemberService {

    Response insert(SessionFactory factory, TicketChangeMember ticketChangeMember);

    Response deleteById(SessionFactory factory, String id);

    Response update(SessionFactory factory, TicketChangeMember ticketChangeMember);

    Response getById(SessionFactory factory, String id);

    TicketChangeMember getSingle(SessionFactory factory, TicketChangeMemberQuery ticketChangeMemberQuery);

    List<TicketChangeMember> getList(SessionFactory factory, TicketChangeMemberQuery ticketChangeMemberQuery);

    void deleteByWorkTicketId(SessionFactory factory, String workTicketId);
}
